package com.spotalog.shared.model.query;

import com.spotalog.shared.model.Spot;

public enum SpotProperty implements Property {
	NAME(Spot.NAME), DESCRIPTION(Spot.DESCRIPTION), UP_VOTES(Spot.UP_VOTES), DOWN_VOTES(
			Spot.DOWN_VOTES), SPOT_TYPE(Spot.TYPE), ADDRESS(Spot.ADDRESS), LOCATION(
			Spot.LOCATION);

	private final String propertyName;

	private SpotProperty(String propertyName) {
		this.propertyName = propertyName;
	}

	@Override
	public String getPropertyName() {
		return this.propertyName;
	}
}
